home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
misc
/
emu
/
amiSPIMsrc.lha
/
endian.c
< prev
next >
Wrap
Text File
|
1992-11-06
|
125b
|
9 lines
int
main ()
{
int x = 0x12345678;
/* Return 1 for little-endian, 0 for big-endian. */
return (*(char *)&x == 0x78);
}